package com.itmck.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 太阳当空照,花儿对我笑
 * <p>
 * Create by M ChangKe 2021/11/3 15:56
 **/
@Data
public class GatewayRouteDefinition {


    /**
     * 路由id
     */
    private String id;

    /**
     * 路由断言
     */
    private List<GatewayPredicateDefinition> predicates = new ArrayList<>();

    /**
     * 路由过滤集合配置
     */
    private List<GatewayFilterDefinition> filters = new ArrayList<>();

    /**
     * 路由规则转发的uri
     */
    private String uri;


    /**
     * 路由的执行顺序
     */
    private int order = 0;


}
